import request from '@/utils/request'

// 查询专业职业关系表列表
export function listSpecialtyJobRelation(query) {
    return request({
        url: '/system/specialtyJobRelation/list',
        method: 'get',
        params: query
    })
}

// 查询专业职业关系表详细
export function getSpecialtyJobRelation(id) {
    return request({
        url: '/system/specialtyJobRelation/' + id,
        method: 'get'
    })
}

// 新增专业职业关系表
export function addSpecialtyJobRelation(data) {
    return request({
        url: '/system/specialtyJobRelation',
        method: 'post',
        data: data
    })
}

// 修改专业职业关系表
export function updateSpecialtyJobRelation(data) {
    return request({
        url: '/system/specialtyJobRelation',
        method: 'put',
        data: data
    })
}

// 删除专业职业关系表
export function delSpecialtyJobRelation(id) {
    return request({
        url: '/system/specialtyJobRelation/' + id,
        method: 'delete'
    })
}

// 导出专业职业关系表
export function exportSpecialtyJobRelation(query) {
    return request({
        url: '/system/specialtyJobRelation/export',
        method: 'get',
        params: query
    })
}